package college;

import javax.swing.JOptionPane;

/**
 * Class handles the general actions within the project.
 * @author Yair
 *
 */
public class general {


 static public  	String[] is_type = {"Information System - Student","Information System - Lector",
		"Information System - Worker", "Moodle"," Computers in lecture rooms","Computers in Labaratories","Library","College Site"};

 /**
  * Adds a leading and a following apostrophes to given string.
  * @param s String to add apostrophes to.
  * @return String.
  */
public static  String addapostrophs( String s)
	{
		return "'"+s+"'";
	}



/**
 * Function sends a alert type window using the java swing.
 * @see showMessageDialog
 * @param msg
 */
public static void  alert( String msg)
{
	 JOptionPane.showMessageDialog(null,msg, "ISD Braude", 1);
		
}

}


